package app.common.utils.wdt.sdk.api.purchaseOrder;

import app.common.utils.wdt.sdk.Pager;
import app.common.utils.wdt.sdk.WdtErpException;
import app.common.utils.wdt.sdk.api.purchaseOrder.dto.PurchaseOrderCreateRequest;
import app.common.utils.wdt.sdk.api.purchaseOrder.dto.PurchaseOrderCreateResponse;
import app.common.utils.wdt.sdk.api.purchaseOrder.dto.PurchaseOrderQueryRequest;
import app.common.utils.wdt.sdk.api.purchaseOrder.dto.PurchaseOrderQueryResponse;
import app.common.utils.wdt.sdk.impl.Api;

public interface PurchaseOrderAPI
{
	@Api(value = "purchase.PurchaseOrder.queryWithDetail", paged = true)
	PurchaseOrderQueryResponse search(PurchaseOrderQueryRequest request, Pager pager) throws WdtErpException;

	@Api(value = "purchase.PurchaseOrder.createOrder")
	PurchaseOrderCreateResponse create(PurchaseOrderCreateRequest request) throws WdtErpException ;
}
